package com.hhkj.admin.student.mapper;


import com.hhkj.admin.student.domain.Student;
import com.hhkj.admin.student.domain.StudentBatch;
import com.hhkj.admin.student.model.dopo.StudentBatchDo;
import com.hhkj.admin.student.model.dopo.StudentBatchPo;
import com.hhkj.admin.student.model.dopo.StudentPo;
import com.hhkj.admin.student.model.req.StudentBatchReq;
import com.ruoyi.common.base.biz.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 学员批次管理Mapper接口
 *
 * @author ruoyi
 * @since 2023-05-12
 */
@Mapper
@Component
@CacheNamespace
public interface StudentBatchMapper extends BaseMapper<StudentBatch, StudentBatchDo, StudentBatchPo> {

    /**
     * 查询学员批次管理列表
     * 
     * @param studentBatch 学员批次管理
     * @return 学员批次管理集合
     */
    List<StudentBatchPo> selectStudentBatchListByDo(StudentBatchReq studentBatch);


    /**
     * 查询批次下学员列表
     *
     * @param studentBatch 批次号id
     * @return 学员
     */
    List<StudentPo> listBatchStudentPoByDo(StudentBatchReq studentBatch);


}
